package com.hmall.search.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "hm.es")
public class EsProperties {
    private String host;
    private Integer port = 9200;
}